<div class="layui-col-xs3">
    <div class="layui-form-item">
        <label class="layui-form-label">供应商</label>
        <div class="layui-input-block">
            <select id="mainId" name="mainId" lay-filter="mainId"></select>
        </div>
    </div>
</div>
<script>
    layui.use(['layer', 'form', 'table', 'admin', 'laydate', 'upload', 'laytpl'], async function () {
        var $ = layui.jquery;
        var layer = layui.layer;
        var form = layui.form;
        var table = layui.table;
        var config = layui.config;
        var admin = layui.admin;
        var upload = layui.upload;
        let laydate = layui.laydate;
        let laytpl = layui.laytpl;
        await admin.initDataSelectPro('enterprise/purchase/admin/supplierInfoPass/list', {limit: 99999}, "mainId", "供应商",null,'corporateName')
    })
</script>